package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.SearchEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.ruoyi.common.annotation.Excel;

import java.util.List;

/**
 * 订单对象 t_order
 * 
 * @author 陈斌斌
 * @date 2025-09-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_order")
public class Order extends SearchEntity
{

    /** 主键id */
    @Excel(name = "主键id")
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /** 是否是会员 */
    @Excel(name = "是否是会员",dictType = "sys_user_sex",sort = 1)
    private String isMember;

    /** 收款金额 */
    @Excel(name = "收款金额",sort = 2)
    private Long price;

    /** 支付方式 */
    @Excel(name = "支付方式",dictType = "method",sort = 3)
    private String method;
    /*会员信息id*/
    private String mId;
    @TableField(exist = false)
    private List<Members> children;
}
